﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.Datatypes
{
    public class Content
    {
        public int id { get; set; }
        public string Url { get; set; }
        public string Comment { get; set; }
        public System.DateTime Date { get; set; }
        public string UserName { get; set; }
        public int Inappropriates { get; set; }
        public bool UserInapp { get; set; }

        public bool IsYouTubeUrl()
        {
            return Url.ToLower().Contains("youtube.com");
        }

    }
}
